#ifndef _RADIO_SELECTER_H_
#define _RADIO_SELECTER_H_

#include <widget.h>

namespace lgb_gtk
{

  enum RadioSelectorStyle
  {
    RADIO_SELECTOR_NORMAL = 0
  };

  class RadioSelector : public Widget
  {
  protected:
    bool isHorizontal; // 是否横向排列

  public:
    string Type(){ return "RadioSelector"; }
    int SetHorizontal(){ isHorizontal = true; return 0; } // 设置为横向放置
    int SetVertical(){ isHorizontal = false; return 0; }  // 设置为竖向放置
    virtual int AddOptionWithText(string option) = 0;
    virtual int Clean() = 0;
    virtual int CurrentSelect() = 0;

  };

}

#endif
